<?php
class Menu{
	private $type;
	private $level;
	private $label;
	private $link;
	private $submenu = array();
	private $item = 0;
	
	public function setMenuType($type){
		$this->type = $type;
	}
	public function getMenuType(){
		return $this->type;
	}
	public function setMenuLevel($level){
		$this->level = $level;
	}
	public function getMenuLevel(){
		return $this->level;
	}
	public function setMenuLabel($label){
		$this->label = $label;
	}
	public function getMenuLabel(){
		return $this->label;
	}
	public function setMenuLink($link){
		$this->link = $link;
	}
	public function getMenuLink(){
		return $this->link;
	}
	public function addSubMenu($menu){
		$this->submenu[] = $menu;
	}
	public function getSubMenu(){
		return $this->submenu;
	}
	public function setItem($countItem){
		$this->item = $countItem;
	}
	public function getItem(){
		return $this->item;
	}
	
}